﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Polaris.Domain.Model.DtoWebSite.Article.Response
{
    public class ArticleInfoResponse : ArticleContentResponse
    {
        public List<ArticleBrief> AdjacentArticles { get; set; }

        /// <summary>
        /// 是否已经点赞
        /// </summary>
        public bool IsLike { get; set; }
    }

    public class ArticleBrief
    {
        public string Title { get; set; }
        public string Id { get; set; }

        /// <summary>
        /// 是否当前文章
        /// </summary>
        public bool IsCurrent { get; set; }
        public DateTime CreateTime { get; set; }
    }
}
